-- GENERATED SPELL FOR [Taloned Swoop] --


function spell0_2971(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2971', 2255, 1)
end

function Sorts_2971(pUnit, Event)
local choix_sorts_2971 = math.random(0, 0)
if choix_sorts_2971 == 0 then
pUnit:RegisterEvent('spell0_2971', 1, 1)
end
end

function mob2971_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2971', math.random(1500, 3000), 1)
end

function mob2971_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2971_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2971_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2971, 1, 'mob2971_Action')
RegisterUnitEvent(2971, 2, 'mob2971_Leave')
RegisterUnitEvent(2971, 3, 'mob2971_Kill')
RegisterUnitEvent(2971, 4, 'mob2971_Die')
